package edu.hit.pact.pgse.timer;

import java.util.TimerTask;

import edu.hit.pact.pgse.util.Globals;

public class ConfReloadTimerTask extends TimerTask{

	private ConfTaskScheduler confTaskScheduler;
	private ConfMonitor confMonitor; 
	
	public ConfReloadTimerTask(ConfTaskScheduler confTaskScheduler) {
		super();
		this.confTaskScheduler = confTaskScheduler;
		this.confMonitor = new ConfMonitor();
	}


	@Override
	public void run() {
		
		//add notation by HCZ 2010.11.6 
//		System.out.println("ConfReloadTimerTask run()");
//		Globals.reloadConf();
//		System.out.println(Globals.INTERVAL_UPDATE_CONF_TASK);
//		confMonitor.applyCheck(confTaskScheduler);
		
	}

}
